package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场管理对象 parking_lot
 * 
 * @author ruoyi
 * @date 2025-04-08
 */
public class ParkingLot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID  */
    private Integer id;

    /** 停车场名称 */
    @Excel(name = "停车场名称")
    private String name;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long deptId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String deptName;


    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 电话 */
    @Excel(name = "电话")
    private Long phonenumber;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updataTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updataBy;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setPhonenumber(Long phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public Long getPhonenumber() 
    {
        return phonenumber;
    }

    public void setUpdataTime(Date updataTime) 
    {
        this.updataTime = updataTime;
    }

    public Date getUpdataTime() 
    {
        return updataTime;
    }

    public void setUpdataBy(String updataBy) 
    {
        this.updataBy = updataBy;
    }

    public String getUpdataBy() 
    {
        return updataBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("address", getAddress())
            .append("createBy", getCreateBy())
            .append("phonenumber", getPhonenumber())
            .append("createTime", getCreateTime())
            .append("updataTime", getUpdataTime())
            .append("updataBy", getUpdataBy())
            .toString();
    }
}
